private var defaultcolor;

function OnMouseEnter () {
	defaultcolor = renderer.material.color;
	renderer.material.color = Color.white;
	transform.localScale = Vector3.one * 1.25;
}

function OnMouseExit () {
	renderer.material.color = defaultcolor;
	transform.localScale = Vector3.one;
}

function OnMouseUp()
{
	if( name == "Play" )
	{
		// play game
		Application.LoadLevel( 1 );
	}
	if( name == "Quit" )
	{
		// quit application
		Application.Quit();
	}
}
